package indi.defoliation.unknownrpg.api.rpgevent.entity;

import org.bukkit.Location;
import org.bukkit.entity.Entity;

/**
 * prev location is not accurate
 * error around in 1 block
 * 
 * 
 * 
 * @author defoli_ation
 *
 */
public class EntityWalkEvent extends EntityEvent{
	
	private Location from;
	private Location to;
	
	public EntityWalkEvent(Entity what,Location from,Location to) {
		super(what);
		this.from=from;
		this.to=to;
	}
	
	public Location getFrom() {
		return from;
	}
	
	public Location getTo() {
		return to;
	}
}

